package com.zzzzzz.account.reset;

import com.zzzzzz.account.ticket.ExpiredTicketException;
import com.zzzzzz.account.ticket.NoSuchTicketException;
import com.zzzzzz.account.user.NoSuchUserException;

public interface ResetPasswordService {

	void sendResetMail(String email) throws NoSuchUserException;
	
	boolean isValidResetToken(String token);
	
	void changePassword(String token, String password) throws NoSuchTicketException, ExpiredTicketException;
	
}
